package cn.yj.common.service;

import cn.yj.common.interfaces.IPayRefundSuccessNotify;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author 永健
 * @since 2022-02-19 14:50
 */
@Component
public class TestPayReFundSuccessNotify implements IPayRefundSuccessNotify {

    private static final Logger log = LoggerFactory.getLogger(TestPayReFundSuccessNotify.class);

    @Override
    public void wechat(String outTradeNo,boolean success, boolean tag) {
        log.info("微信退款结果:成功");
    }

    @Override
    public void alipay(String outTradeNo,boolean success, boolean tag) {
        log.info("支付宝退款结果:成功");
    }


}
